﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Manager.master" AutoEventWireup="true" CodeFile="ChangePassWord.aspx.cs" Inherits="Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style="margin:0 auto">
        <div class="content_area1">
            <h1>Đổi mật khẩu</h1>
            <div style="margin-left:20px">
                <asp:Panel ID="panelChangePwd" runat="server" DefaultButton="btnLogin">
                    <div style="text-align:center">
                        <asp:Label ID="lblError" runat="server" CssClass="login-error"></asp:Label>
                    </div>
                    <div class="form-item">
                        <label for="edit-name" id="lblfullname">Mật khẩu hiện tại: </label>
                        <asp:TextBox ID="txtcurrentPWD" runat="server" TextMode="Password" CssClass="form-text required"></asp:TextBox>
                        <asp:RequiredFieldValidator
                            ID="RequiredFieldValidator1" runat="server" 
                            ErrorMessage="Nhập mật khẩu hiện tại" ControlToValidate="txtcurrentPWD" 
                            Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>
                    <div class="form-item">
                        <label for="edit-name" id="lblusername">Mật khẩu mới: </label>
                        <asp:TextBox ID="txtnewpassword" runat="server" TextMode="Password" CssClass="form-text required"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ErrorMessage="Nhập mật khẩu mới" ControlToValidate="txtnewpassword" 
                            Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>
                    <div class="form-item">
                        <label for="edit-name" id="Label1">Nhập lại Mật khẩu: </label>
                        <asp:TextBox ID="txtconfirmNewPWD" runat="server" TextMode="Password" CssClass="form-text required"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                            ErrorMessage="Nhập mật khẩu mới" ControlToValidate="txtconfirmNewPWD" 
                            Display="Dynamic"></asp:RequiredFieldValidator>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" 
                            ControlToCompare="txtconfirmNewPWD" ControlToValidate="txtnewpassword" 
                            Display="Dynamic" ErrorMessage="Mật khẩu mới không đúng"></asp:CompareValidator>
                    </div>
                    <div class="form-item" style="text-align:center; padding-top:5px;">
                        <asp:Button ID="btnLogin" runat="server" Text="Đổi mật khẩu" 
                            CssClass="longbutton" onclick="btnLogin_Click" />
                    </div>
                </asp:Panel>
            </div>
            <br class="clear" />
            <img src="<%= ResolveUrl("~/images/bottom.jpg")%>" align="absbottom" alt="" />
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>

